package com.ywk.pattern._17_adapter;

public class Center extends Player {
    public Center(String name) {
        super(name);
    }

    @Override
    public void Attack() {
        System.out.println("中锋进攻"+super.name);
    }

    @Override
    public void Defense() {
        System.out.println("中锋防守"+super.name);
    }
}
